package com.web.onirigi.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 基础配置读取
 * @author fengruiqi
 *
 */

public class BaseConfig {

	/**
	 * 图片保存基础路径
	 */
	@Value("${image.base.url}")
	public  String IMG_BASE_URL ;
	
	/**
	 * 图片保存路径
	 */
	@Value("${image.dir}")
	public  String IMAGE_DIR;

	public String getIMG_BASE_URL() {
		return IMG_BASE_URL;
	}

	public void setIMG_BASE_URL(String iMG_BASE_URL) {
		IMG_BASE_URL = iMG_BASE_URL;
	}

	public String getIMAGE_DIR() {
		return IMAGE_DIR;
	}

	public void setIMAGE_DIR(String iMAGE_DIR) {
		IMAGE_DIR = iMAGE_DIR;
	}
	
	
	
	
	
	
	
}
